package com.yuhs.zixing.pay.service.merchant;

import com.yuhs.zixing.pay.dal.merchant.dto.PayMerchantInfoDTO;

/**
 * @ClassName MerchantService
 * @Description 商户service
 * @Author yuhs
 * @CreateDate 2020/12/4
 **/
public interface MerchantService {
    /**
     * 通过商户号获取商户信息
     *
     * @param merchantNo
     * @return
     */
    PayMerchantInfoDTO getMerchantInfoByMerchantNo(String merchantNo);

    /**
     * 添加商户
     *
     * @param payMerchantInfoDTO
     * @return
     */
    Boolean addMerchant(PayMerchantInfoDTO payMerchantInfoDTO);
}
